package com.gmu.service;

import com.gmu.domain.ResResult;
import com.gmu.domain.vo.PageVo;
import com.gmu.domain.vo.TblOrderVo;
import com.gmu.pojo.TblOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 核酸预约 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
public interface TblOrderService extends IService<TblOrder> {

    boolean checkIsReservation(Integer userId, Integer activitiesId);

    ResResult<?> getOrderList(Integer userId,Integer status);

    ResResult<?> deleteReservation(Integer id);

    ResResult<?> getOrderOneList(Integer userId, String idNumber, Integer status);

    PageVo<?> getReservationRecordList(Integer pageNum, Integer pageSize, TblOrderVo tblOrder, String beginTime, String endTime);

    ResResult<?> deleteReservationRecord(Integer[] ids);

    List<TblOrderVo> getOrderVoList(TblOrderVo tblOrder,String beginTime,String endTime);

}
